<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>会员管理</title>
    <script type='text/javascript' src='http://localhost/hdjob/hdphp/hdphp/Extend/Org/Jquery/jquery-1.8.2.min.js'></script>
<link href='http://localhost/hdjob/hdphp/hdphp/../hdjs/css/hdjs.css' rel='stylesheet' media='screen'>
<script src='http://localhost/hdjob/hdphp/hdphp/../hdjs/js/hdjs.js'></script>
<script src='http://localhost/hdjob/hdphp/hdphp/../hdjs/js/slide.js'></script>
<script src='http://localhost/hdjob/hdphp/hdphp/../hdjs/org/cal/lhgcalendar.min.js'></script>
<script type='text/javascript'>
HOST = '<?php echo $GLOBALS['user']['HOST'];?>';
ROOT = '<?php echo $GLOBALS['user']['ROOT'];?>';
WEB = '<?php echo $GLOBALS['user']['WEB'];?>';
URL = '<?php echo $GLOBALS['user']['URL'];?>';
HDPHP = '<?php echo $GLOBALS['user']['HDPHP'];?>';
HDPHPDATA = '<?php echo $GLOBALS['user']['HDPHPDATA'];?>';
HDPHPTPL = '<?php echo $GLOBALS['user']['HDPHPTPL'];?>';
HDPHPEXTEND = '<?php echo $GLOBALS['user']['HDPHPEXTEND'];?>';
APP = '<?php echo $GLOBALS['user']['APP'];?>';
CONTROL = '<?php echo $GLOBALS['user']['CONTROL'];?>';
METH = '<?php echo $GLOBALS['user']['METH'];?>';
GROUP = '<?php echo $GLOBALS['user']['GROUP'];?>';
TPL = '<?php echo $GLOBALS['user']['TPL'];?>';
CONTROLTPL = '<?php echo $GLOBALS['user']['CONTROLTPL'];?>';
STATIC = '<?php echo $GLOBALS['user']['STATIC'];?>';
PUBLIC = '<?php echo $GLOBALS['user']['PUBLIC'];?>';
HISTORY = '<?php echo $GLOBALS['user']['HISTORY'];?>';
HTTPREFERER = '<?php echo $GLOBALS['user']['HTTPREFERER'];?>';
</script>
    <script type="text/javascript" src="http://localhost/hdjob/./Hdjob/static/js/js.js"></script>
    <script type="text/javascript" src="http://localhost/hdjob/./Hdjob/Hdjob/Admin/Tpl/Member/js/js.js"></script>
    <link type="text/css" rel="stylesheet" href="http://localhost/hdjob/./Hdjob/Hdjob/Admin/Tpl/Member/css/css.css"/>
    <link href='http://localhost/hdjob/hdphp/hdphp/Extend/Org/bootstrap/css/bootstrap.min.css' rel='stylesheet' media='screen'>
<script src='http://localhost/hdjob/hdphp/hdphp/Extend/Org/bootstrap/js/bootstrap.min.js'></script>
                <!--[if lte IE 6]>
                <link rel="stylesheet" type="text/css" href="http://localhost/hdjob/hdphp/hdphp/Extend/Org/bootstrap/ie6/css/bootstrap-ie6.css">
                <![endif]-->
                <!--[if lt IE 9]>
                <script src="http://localhost/hdjob/hdphp/hdphp/Extend/Org/bootstrap/js/html5shiv.min.js"></script>
                <script src="http://localhost/hdjob/hdphp/hdphp/Extend/Org/bootstrap/js/respond.min.js"></script>
                <![endif]-->
</head>
<body>
<div class="wrap">
    <table class="table2 hd-form">
        <thead>
        <tr>
            <td class="w30">ID</td>
            <td>会员名称</td>
            <td class="w100">注册时间</td>
            <td class="w100">最后登录</td>
            <td class="w100">登录ip</td>
            <td class="w100">是否锁定</td>
            <td class="w180">操作</td>
        </tr>
        </thead>
        <?php if(is_array($data)):?><?php  foreach($data as $v){ ?>
             <tr>
                <td class="w30"><?php echo $v['uid'];?></td>
                <td><a href=""><?php echo $v['username'];?></a></td>
                <td class="w100"><?php echo hd_date($v['registertime']);?></td>
                <td class="w100"><?php echo hd_date($v['logintime']);?></td>
                <td class="w100"><?php echo $v['loginip'];?></td>
                <td class="w100"><?php echo $v['usermail'];?></td>
                <td class="w180">
                    <?php if($v['islock'] == 1){?>
                        <a href="<?php echo U('Member/verify_off',array('uid'=>$v['uid']));?>" class="btn btn-primary btn-xs">已锁定</a>
                    <?php  }else{ ?>
                        <a href="<?php echo U('Member/verify_on',array('uid'=>$v['uid']));?>" class="btn btn-warning btn-xs">未锁定</a>
                    <?php }?>
                    <a href="javascript:;" class="btn btn-danger btn-xs" onclick="if(confirm('确定删除吗？')) location.href='<?php echo U('Member/del_user',array('uid'=>$v['uid']));?>'">删除</a>
                </td>
            </tr>
        <?php }?><?php endif;?>
    </table>
    <div class="page_hdjob">
        
    </div>
    <div class="h60"></div>
</div>

</body>
</html>